From 83150d94458e904e71c2ea2c2a89fa5a7855e50e Mon Sep 17 00:00:00 2001 From: "Daniel Campoverde [alx741]" Date: Mon, 16 May 2016 20:33:43 -0500 Subject: [PATCH] Man pages: add cargo-init --- src/etc/man/cargo-init.1 | 68 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 src/etc/man/cargo-init.1 diff --git a/src/etc/man/cargo-init.1 b/src/etc/man/cargo-init.1 new file mode 100644 index 000000000..a2b392ad1 --- /dev/null +++ b/src/etc/man/cargo-init.1 @@ -0,0 +1,68 @@ +.TH "CARGO\-INIT" "1" "May 2016" "The Rust package manager" "Cargo Manual" +.hy +.SH NAME +.PP +cargo\-init \- Create a new cargo package in the current directory +.SH SYNOPSIS +.PP +\f[I]cargo init\f[] [OPTIONS] +.SH DESCRIPTION +.PP +Create a new cargo package in the current directory. +.PP +Use the \f[B]\-\-vcs\f[] option to control the version control system to +use. +.SH OPTIONS +.TP +.B \-h, \-\-help +Print this message. +.RS +.RE +.TP +.B \-\-vcs \f[I]VCS\f[] +Initialize a new repository for the given version control system (git or +hg) or do not initialize any version control at all (none) overriding a +global configuration. +.RS +.RE +.TP +.B \-\-bin +Use a binary instead of a library template. +.RS +.RE +.TP +.B \-\-name \f[I]NAME\f[] +Set the resulting package name. +.RS +.RE +.TP +.B \-v, \-\-verbose +Use verbose output. +.RS +.RE +.TP +.B \-q, \-\-quiet +No output printed to stdout. +.RS +.RE +.TP +.B \-\-color \f[I]WHEN\f[] +Coloring: auto, always, never. +.RS +.RE +.SH EXAMPLES +.PP +Initialize a binary cargo package in the current directory +.IP +.nf +\f[C] +$\ cargo\ init\ \-\-bin +\f[] +.fi +.SH SEE ALSO +.PP +cargo(1), cargo\-new(1) +.SH COPYRIGHT +.PP +This work is dual\-licensed under Apache 2.0 and MIT terms. +See \f[I]COPYRIGHT\f[] file in the cargo source distribution. -- 2.30.2